package com.tulei.system.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tulei.system.Entity.SysMenu;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface MenuMapper extends BaseMapper<SysMenu> {

    List<SysMenu> selectMenuList();

    List<SysMenu> getMenuList();

    SysMenu getMenuByName(@Param("name") String name);

    int getLastId();

    List<SysMenu> getMenuListByParentId(@Param("id") int id);


    List<SysMenu> getMenuLists(@Param("list") List<Integer> insertList);
}
